package com.cube.springtest.service.impl;

import com.cube.springtest.entity.SysBalance;
import com.cube.springtest.mapper.SysBalanceMapper;
import com.cube.springtest.service.ISysBalanceService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.omg.CORBA.PRIVATE_MEMBER;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author tweakbunny
 * @since 2021-07-08
 */
@Service
public class SysBalanceServiceImpl extends ServiceImpl<SysBalanceMapper, SysBalance> implements ISysBalanceService {

    @Autowired
    private SysBalanceMapper sysBalanceMapper;

    @Override
    public List<SysBalance> queryByName(String name) {
        List<SysBalance> sysBalances = sysBalanceMapper.queryByName(name);
        return sysBalances;
    }
}
